import utils from '@/assets/js/utils';

export default {
  queryMerchantList: function(data, callback) {//获取商户列表
    utils.request.httpExecute(data, 'jic-manager/merchantWeBank/queryMerchantList', callback);
  },
  addMerchantInfo: function(data, callback) {//新增商户信息
    utils.request.httpExecute(data, 'jic-manager/merchantWeBank/addMerchantInfo', callback);
  },
  getMerchantInfo: function(data, callback) {//获取商户信息
    utils.request.httpExecute(data, 'jic-manager/merchantWeBank/getMerchantInfo', callback);
  },
  updateMerchant: function(data, callback) {//修改商户信息
    utils.request.httpExecute(data, 'jic-manager/merchantWeBank/updateMerchant', callback);
  },
  deleteMerchantInfo: function(data, callback) {//删除商户信息
    utils.request.httpExecute(data, 'jic-manager/merchantWeBank/deleteMerchantInfo', callback);
  },
  getMerchantFinanceByMerchantId: function(data, callback) {//根据商户ID获取财务信息
    utils.request.httpExecute(data, 'jic-manager/merchantWeBankFinance/getMerchantFinanceByMerchantId', callback);
  },
  addMerchantFinanceInfo: function(data, callback) {//添加财务信息
    utils.request.httpExecute(data, 'jic-manager/merchantWeBankFinance/addMerchantFinanceInfo', callback);
  },
  getContractListByMerchantId: function(data, callback) {//根据商户ID获取合同列表
    utils.request.httpExecute(data, 'jic-manager/merchantWeBankContract/getContractListByMerchantId', callback);
  },
  getContractInfo: function(data, callback) {//获取合同信息
    utils.request.httpExecute(data, 'jic-manager/merchantWeBankContract/getContractInfo', callback);
  },
  addContractInfo: function(data, callback) {//添加合同信息
    utils.request.httpExecute(data, 'jic-manager/merchantWeBankContract/addContractInfo', callback);
  },
  addContractFile: function(data, callback) {//添加合同文件
    utils.request.httpExecute(data, 'jic-manager/merchantWeBankContract/addContractFile', callback);
  },
  deleteContractFile: function(data, callback) {//删除合同文件
    utils.request.httpExecute(data, 'jic-manager/merchantWeBankContract/deleteContractFile', callback);
  },
  submitReview: function(data, callback) {//商户提交审核
    utils.request.httpExecute(data, 'jic-manager/merchantWeBank/submitReview', callback);
  },
  batchSubmitReview: function(data, callback) {//商户批量提交审核
    utils.request.httpExecute(data, 'jic-manager/merchantWeBank/batchSubmitReview', callback);
  },
  revokeReview: function(data, callback) {//商户撤销提交
    utils.request.httpExecute(data, 'jic-manager/merchantWeBank/revokeReview', callback);
  },
  merchantReview: function(data, callback) {//审核商户
    utils.request.httpExecute(data, 'jic-manager/merchantWeBank/merchantReview', callback);
  },
  batchMerchantReview: function(data, callback) {//批量审核商户
    utils.request.httpExecute(data, 'jic-manager/merchantWeBank/batchMerchantReview', callback);
  },
  getProvinceCityList: function(data, callback) {//获取省市区
    utils.request.httpExecute(data, 'jic-manager/sysProvinceCity/getProvinceCityList', callback);
  },
}
